package com.henushang.ranking.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.henushang.ranking.domain.CategoryInfo;
import com.henushang.ranking.domain.RankingData;
import com.henushang.ranking.domain.RankingDataResponseVo;
import com.henushang.ranking.domain.WebsiteInfo;

@Service("indexService")
public interface RankingDataService {

    Map<WebsiteInfo, Map<CategoryInfo, List<RankingData>>> getIndexRankingData();

    Map<CategoryInfo, Map<WebsiteInfo, List<RankingData>>> getRankingDataByCategory();

    Map<WebsiteInfo, List<RankingData>> getRankingDataByCategory(String cateId);

    RankingData getRankingDataById(String id);
}
